package refactor.encapsulatedowncast;

import java.util.Vector;

public class Site {
    private Vector<Reading> readings;

    public Reading lastReading() {
        return readings.lastElement();
    }

    public void clientMethod() {
        lastReading().getName();
    }
}
